package com.neusoft.resturant.service.impl;

import com.neusoft.resturant.entity.SysUser;
import com.neusoft.resturant.mapper.SysUserMapper;
import com.neusoft.resturant.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements ISysUserService {
    @Autowired
    private SysUserMapper userMapper;
    @Override
    public SysUser selectUserByUserName(String userName) {
        return userMapper.selectUserByUserName(userName);
    }
}
